<?php

include_once '../../vendor/autoload.php';

use Interactive\Common\Logging;
use Interactive\Reference\Renderer;
?>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title> 
        <script type="text/javascript" src="/resources/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="/resources/bootstrap/js/bootstrap.min.js"></script> 
        <link type="text/css" rel="stylesheet" 
              href="/resources/bootstrap/css/bootstrap.min.css" />
    </head>
    <body> 

        <?php

        include 'Employee.php'; 

        $employees = array();

        array_push($employees, new Employee(1, "Dagvadorj", "Galbadrakh", new DateTime("1986-09-29")));
        array_push($employees, new Employee(2, "Bob", "Marley", new DateTime("1940-06-12")));

        Logging::stdout(print_r($employees, true)); 

        Renderer::asList('/src/Reference/Employee.php', $employees);  
        ?>
    </body>
</html>
